package com.cskaoyan.bean.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class AdminCouponCreateBo {

    /**
     * discount : 30.00
     * timeType : 0
     * goodsValue : []
     * type : 2
     * goodsType : 0
     * total : 20
     * min : 99.00
     * name : 中秋节限定
     * limit : 1
     * days : 7
     * startTime : null
     * tag : 仅兑换领券
     * endTime : null
     * desc : 中秋限定使用
     * status : 0
     */
    private BigDecimal discount;
    private Short timeType;
    private List<?> goodsValue;
    private Short type;
    private Short goodsType;
    private Short total;
    private BigDecimal min;
    private String name;
    private Short limit;
    private Short days;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;
    private String tag;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;
    private String desc;
    private Short status;

}
